package com.lzh.thinkpet.service;

import com.lzh.thinkpet.model.Admin;

import java.util.List;

/**
 * @author lzh
 * @date 2019/1/22 - 9:29
 */
public interface AdminService {


    List<Admin>  findAllAdmin();

    boolean  existsThisAname(String uname);

    boolean  isTrueThisApass(String uname ,String upass);

    boolean deleteByPrimaryKey(Integer id);

    boolean insert(Admin record);

    boolean insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer id);

    boolean updateByPrimaryKeySelective(Admin record);

    boolean updateByPrimaryKey(Admin record);
}
